<template>
  <div class="app">
    <h1>{{ msg }}</h1>
    <MySchool></MySchool>
    <MyStudent></MyStudent>
  </div>
</template>
<script>
// 引入组件
import MySchool from "./components/MySchool";
import MyStudent from "./components/MyStudent";

export default {
  name: "App",
  components: {
    MySchool,
    MyStudent,
  },
  data() {
    return {
      msg: "你好",
    };
  },
};
</script>
<style>
.app {
  background-color: red;
}
</style>
